<%--
  Created by IntelliJ IDEA.
  User: 李嘉明
  Date: 2021/1/14
  Time: 19:31
  To change this template use File | Settings | File Templates.
--%>
<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
    <title>客户登录</title>
    <style type="text/css">
        .wrap {
            width: 100vw;
            height: 100vh;
            background: pink;
        }

        .index {
            width: 200px;
            height: 100px;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
        }
    </style>
</head>
<body>
<div CLASS="wrap">
    <div CLASS="index">
        <h2>账户登录页面</h2>
        <form action="<%=basePath%>adminLogin" method="post">
            <table border="2">
                <tr>
                    <td>账户名：</td>
                    <td><input type="text" name="ADMIN_NAME"></input></td>
                </tr>
                <tr>
                    <td>账户密码：</td>
                    <td><input type="password" name="ADMIN_PWD"></input></td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <input type="submit" value="登录"></input>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>
</body>
</html>
